body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("/img/background.jpg");
    background-size: cover; /* 背景图片覆盖整个页面 */
    background-position: center; /* 背景图片居中 */
    background-repeat: no-repeat; /* 背景图片不重复 */
    background-attachment: fixed; /* 背景图片固定 */
}

.container {
    width: 80%;
    margin: 50px auto;
    background-color: rgba(255, 255, 255, 0.9); /* 容器背景颜色（半透明） */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

/* 添加、返回、查询所有和查询功能放在一行 */
.actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.action-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.action-button:hover {
    background-color: #0056b3;
}

.return-button {
    background-color: #6c757d;
}

.return-button:hover {
    background-color: #5a6268;
}

.query-all-button {
    background-color: #ffc107;
    color: #333;
}

.query-all-button:hover {
    background-color: #e0a800;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-form input[type="text"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
    width: 200px;
}

.search-button {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #218838;
}

/* 会员表格样式 */
.member-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.member-table th, .member-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

.member-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    color: #333;
}

.member-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.member-table tbody tr:hover {
    background-color: #e9e9e9;
}

.action-link {
    text-decoration: none;
    color: #007bff;
    font-size: 14px;
}

.action-link:hover {
    text-decoration: underline;
}